import './assets/main.css'

import {createApp} from 'vue'
import App from './App.vue'
import router from './router'
import {a} from 'common'
// import {startApp} from "wujie";
import Wujie from "wujie-vue3"

const {preloadApp} = Wujie
const app = createApp(App)

// startApp({name,url,el})

app.use(router).use(Wujie)

app.mount('#app')

// 子应用预加载
preloadApp({name: 'react', url: 'http://localhost:5174/', exec: true})
preloadApp({name: 'vue3', url: 'http://localhost:5175/', exec: true})
